package sg.edu.nus.iss.phoenix.schedule.entity;

import java.sql.Time;
import java.sql.Date;

import sg.edu.nus.iss.phoenix.authenticate.entity.User;
import sg.edu.nus.iss.phoenix.radioprogram.entity.RadioProgram;


/**
 * @author Sanghrajka Vipul - A0092656W
 *
 */

public class ProgramSlot {
	
	/** 
     * Persistent Instance variables. This data is directly 
     * mapped to the columns of database table.
     */
	private long id;
	private Date dateofWeek;
	private Time startTime;
	private Time endTime;
	private long radioProgramId;
	private long presenterId;
	private long producerId;
	private long weeklyScheduleId;
	
	private RadioProgram radioProgram;
	private User presenter;
	private User producer;
	
    /** 
     * Get- and Set-methods for persistent variables. The default
     * behaviour does not make any checks against malformed data,
     * so these might require some manual additions.
     */
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public Date getDateofWeek() {
		return dateofWeek;
	}
	public void setDateofWeek(Date dateofWeek) {
		this.dateofWeek = dateofWeek;
	}
	public Time getStartTime() {
		return startTime;
	}
	public void setStartTime(Time startTime) {
		this.startTime = startTime;
	}
	public Time getEndTime() {
		return endTime;
	}
	public void setEndTime(Time endTime) {
		this.endTime = endTime;
	}
	public long getRadioProgramId() {
		return radioProgramId;
	}
	public void setRadioProgramId(long radioProgramId) {
		this.radioProgramId = radioProgramId;
	}
	public long getPresenterId() {
		return presenterId;
	}
	public void setPresenterId(long presenterId) {
		this.presenterId = presenterId;
	}
	public long getProducerId() {
		return producerId;
	}
	public void setProducerId(long producerId) {
		this.producerId = producerId;
	}
	public long getWeeklyScheduleId() {
		return weeklyScheduleId;
	}
	public void setWeeklyScheduleId(long weeklyScheduleId) {
		this.weeklyScheduleId = weeklyScheduleId;
	}
	public RadioProgram getRadioProgram() {
		return radioProgram;
	}
	public void setRadioProgram(RadioProgram radioProgram) {
		this.radioProgram = radioProgram;
	}
	public User getPresenter() {
		return presenter;
	}
	public void setPresenter(User presenter) {
		this.presenter = presenter;
	}
	public User getProducer() {
		return producer;
	}
	public void setProducer(User producer) {
		this.producer = producer;
	}
}
